package cn.bs.domain.dao;


public class Seat {
    private Integer id;
    private Integer number;//座位号,同一家餐厅里面不能有相同的座位号
    private Integer canteenId;//餐厅id，该座位属于哪家餐厅
    private Integer capacity;//座位容量
    private Double price;//预订座位的价格
    private Integer status;//座位状态，0表示空闲，1表示已被预订

    public Seat(){

    }

    public Seat(Integer id, Integer number, Integer canteenId, Integer capacity, Double price, Integer status) {
        this.id = id;
        this.number = number;
        this.canteenId = canteenId;
        this.capacity = capacity;
        this.price = price;
        this.status = status;

    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    public Integer getCanteenId() {
        return canteenId;
    }

    public void setCanteenId(Integer canteenId) {
        this.canteenId = canteenId;
    }

    public Integer getCapacity() {
        return capacity;
    }

    public void setCapacity(Integer capacity) {
        this.capacity = capacity;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}
